body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: flex-end;
    min-height: 100vh;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /* font-family: 'Raleway'; */
    font-family: 'Cairo', sans-serif;
}

.payment-title {
    width: 100%;
    text-align: center;
}

.form-container .field-container:first-of-type {
    /* grid-area: name; */
    grid-area: phone;
}

.form-container .field-container:nth-of-type(2) {
    /* grid-area: phone; */
    grid-area: amount;
}

.form-container .field-container:nth-of-type(3) {
    /* grid-area: amount; */
    grid-area: paybtn;
}

#visaImage {
    grid-area: visa;
    justify-self: end;
}


/* .form-container .field-container:nth-of-type(4) {
    grid-area: number;
}

#visaImage {
    grid-area: expiration;
}

.form-container .field-container:nth-of-type(6) {
    grid-area: security;
}

#fawryLogo {
    grid-area: fawrylogo;
    width: 60%;
}

#beeLogo {
    grid-area: beelogo;
    width: 100%;
} */

.field-container input {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.field-container select {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-color: #F36639;
}

.field-container {
    position: relative;
}

.form-container {
    display: grid;
    grid-column-gap: 10px;
    grid-template-columns: auto auto;
    grid-template-rows: 112px 140px 90px;
    /* grid-template-areas: "name name""phone phone""amount amount" "expiration expiration""number number""paybtn paybtn"; */
    grid-template-areas: "phone phone""amount amount""paybtn visa";
    max-width: 40%;
    padding-left: 28px;
    color: #707070;
}

label {
    padding-bottom: 5px;
    font-size: 13px;
}

input {
    margin-top: 3px;
    padding: 15px;
    font-size: 16px;
    width: 100%;
    border-radius: 3px;
    border: 1px solid #dcdcdc;
}

select {
    margin-top: 0;
    padding: 9px;
    font-size: 13px;
    width: 100%;
    border-radius: 3px;
    border: 1px solid #dcdcdc;
}

.ccicon {
    height: 38px;
    position: absolute;
    right: 6px;
    top: calc(50% - 17px);
    width: 60px;
}


/* CREDIT CARD IMAGE STYLING */

.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

.container {
    width: 100%;
    max-width: 400px;
    max-height: 251px;
    height: 54vw;
    padding: 20px;
}

#ccsingle {
    position: absolute;
    right: 15px;
    top: 20px;
}

#ccsingle svg {
    width: 100px;
    max-height: 60px;
}

.creditcard svg#cardfront,
.creditcard svg#cardback {
    width: 100%;
    -webkit-box-shadow: 1px 5px 6px 0px black;
    box-shadow: 1px 5px 6px 0px black;
    border-radius: 22px;
}

#generatecard {
    cursor: pointer;
    float: right;
    font-size: 12px;
    color: #fff;
    padding: 2px 4px;
    background-color: #909090;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}


/* CHANGEABLE CARD ELEMENTS */

.creditcard .lightcolor,
.creditcard .darkcolor {
    -webkit-transition: fill .5s;
    transition: fill .5s;
}

.creditcard .lightblue {
    fill: #03A9F4;
}

.creditcard .lightbluedark {
    fill: #0288D1;
}

.creditcard .red {
    fill: #ef5350;
}

.creditcard .reddark {
    fill: #d32f2f;
}

.creditcard .purple {
    fill: #ab47bc;
}

.creditcard .purpledark {
    fill: #7b1fa2;
}

.creditcard .cyan {
    fill: #26c6da;
}

.creditcard .cyandark {
    fill: #0097a7;
}

.creditcard .green {
    fill: #66bb6a;
}

.creditcard .greendark {
    fill: #388e3c;
}

.creditcard .lime {
    fill: #d4e157;
}

.creditcard .limedark {
    fill: #afb42b;
}

.creditcard .yellow {
    fill: #ffeb3b;
}

.creditcard .yellowdark {
    fill: #f9a825;
}

.creditcard .orange {
    fill: #ff9800;
}

.creditcard .orangedark {
    fill: #ef6c00;
}

.creditcard .grey {
    fill: #bdbdbd;
}

.creditcard .greydark {
    fill: #616161;
}


/* FRONT OF CARD */

#svgname {
    text-transform: uppercase;
}

#cardfront .st2 {
    fill: #FFFFFF;
}

#cardfront .st3 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
}

#cardfront .st4 {
    font-size: 54.7817px;
}

#cardfront .st5 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 400;
}

#cardfront .st6 {
    font-size: 33.1112px;
}

#cardfront .st7 {
    opacity: 0.6;
    fill: #FFFFFF;
}

#cardfront .st8 {
    font-size: 24px;
}

#cardfront .st9 {
    font-size: 36.5498px;
}

#cardfront .st10 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 300;
}

#cardfront .st11 {
    font-size: 16.1716px;
}

#cardfront .st12 {
    fill: #4C4C4C;
}


/* BACK OF CARD */

#cardback .st0 {
    fill: none;
    stroke: #0F0F0F;
    stroke-miterlimit: 10;
}

#cardback .st2 {
    fill: #111111;
}

#cardback .st3 {
    fill: #F2F2F2;
}

#cardback .st4 {
    fill: #D8D2DB;
}

#cardback .st5 {
    fill: #C4C4C4;
}

#cardback .st6 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 400;
}

#cardback .st7 {
    font-size: 27px;
}

#cardback .st8 {
    opacity: 0.6;
}

#cardback .st9 {
    fill: #FFFFFF;
}

#cardback .st10 {
    font-size: 24px;
}

#cardback .st11 {
    fill: #EAEAEA;
}

#cardback .st12 {
    font-family: 'Rock Salt', cursive;
}

#cardback .st13 {
    font-size: 37.769px;
}


/* FLIP ANIMATION */

.container {
    perspective: 1000px;
}

.creditcard {
    width: 100%;
    max-width: 400px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: -webkit-transform 0.6s;
    -webkit-transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
    cursor: pointer;
}

.creditcard .front,
.creditcard .back {
    position: absolute;
    width: 100%;
    max-width: 400px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    color: #47525d;
}

.creditcard .back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.creditcard.flipped {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.payButton {
    /* grid-area: paybtn; */
    -moz-box-shadow: 0px 10px 14px -7px #F36639;
    -webkit-box-shadow: 0px 10px 14px -7px #F36639;
    box-shadow: 0px 10px 14px -7px #F36639;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #F36639), color-stop(1, #F36639));
    background: -moz-linear-gradient(top, #F36639 5%, #F36639 100%);
    background: -webkit-linear-gradient(top, #F36639 5%, #F36639 100%);
    background: -o-linear-gradient(top, #F36639 5%, #F36639 100%);
    background: -ms-linear-gradient(top, #F36639 5%, #F36639 100%);
    background: linear-gradient(to bottom, #F36639 5%, #F36639 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#599bb3', endColorstr='#408c99', GradientType=0);
    background-color: #F36639;
    -moz-border-radius: 15px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: bold;
    padding: 6px 42px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #F36639;
}

.payButton:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #F36639), color-stop(1, #F36639));
    background: -moz-linear-gradient(top, #F36639 5%, #F36639 100%);
    background: -webkit-linear-gradient(top, #F36639 5%, #F36639 100%);
    background: -o-linear-gradient(top, #F36639 5%, #F36639 100%);
    background: -ms-linear-gradient(top, #F36639 5%, #F36639 100%);
    background: linear-gradient(to bottom, #F36639 5%, #F36639 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#408c99', endColorstr='#599bb3', GradientType=0);
    background-color: #F36639;
    transform: scale(1.05);
    cursor: pointer;
}

.payButton:active {
    position: relative;
    top: 1px;
}

.errorMsg {
    font-size: 9px;
    color: #fb2727;
    font-weight: 700;
    visibility: hidden;
}

.inputError {
    border: 2px solid #da4646;
    box-shadow: 2px 2px 4px #dea7a7;
}


/* loader */

.lds-ellipsis {
    display: block;
    visibility: hidden;
}

.lds-ellipsis div {
    position: absolute;
    top: 27px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #F36639;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 6px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 6px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 26px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 45px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(19px, 0);
    }
}


/* Alert  */

.alert {
    padding: 20px;
    background-color: #f44336;
    color: white;
    opacity: 1;
    transition: opacity 0.6s;
    margin-bottom: 15px;
}

#successAlert {
    display: none;
    opacity: 0;
    transition: opacity 0.6s;
}

.alert.success {
    background-color: #4CAF50;
}

.alert.info {
    background-color: #2196F3;
}

.alert.warning {
    background-color: #ff9800;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}


/**************************\
  Basic Modal Styles
\**************************/

.modal {
    font-family: 'Cairo', sans-serif;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__container {
    background-color: #fff;
    padding: 15px;
    max-width: 500px;
    max-height: 100vh;
    border-radius: 19px;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.25;
    color: #F36639;
    box-sizing: border-box;
    width: 100%;
    text-align: center
}

.modal__close {
    background: transparent;
    border: 0;
}

.modal__header .modal__close:before {
    content: "\2715";
}

.modal__content {
    margin-top: 1.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, .8);
}

.modal__btn {
    font-size: .875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #e6e6e6;
    color: rgba(0, 0, 0, .8);
    border-radius: .25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
    transition: transform .25s ease-out, -webkit-transform .25s ease-out;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
}

.modal__btn:focus,
.modal__btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.modal__btn-primary {
    background-color: #F36639;
    color: #fff;
}


/**************************\
    Demo Animation Style
  \**************************/

@keyframes mmfadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10%);
    }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}

.headerTitle {
    grid-area: header;
    border-radius: 25px;
    border: 2px solid #ffffff;
    padding: 5px;
    background: #F36639;
    box-shadow: -5px 5px 20px 0px #54535380;
    width: 45%;
    text-align: center;
    font-size: 26px;
    grid-column: span 2;
}

.item2 {
    grid-area: menu;
    background-size: cover;
    background-image: url('assets\images\shikh.png');
    width: 367px;
}

.item3 {
    grid-area: main;
    font-size: 19px;
}

.item4 {
    grid-area: right;
    font-size: 24px;
}

.item5 {
    grid-area: footer;
    font-size: 19px;
}

.item6 {
    grid-area: left;
    font-size: 19px;
}

.footer {
    grid-area: footer1;
}

.headertop {
    grid-area: headertop;
}

.header-container {
    display: grid;
    grid-template-areas: 'headertop headertop headertop headertop headertop headertop' 'header header header header header header' 'right right menu menu menu menu' 'main main menu menu menu menu' 'left left menu menu menu menu' 'footer footer menu menu menu menu' 'footer1 footer1 menu menu menu menu';
    grid-gap: 10px;
    background-image: url('../images/bg.svg');
    background-size: cover;
    color: white;
    padding-right: 54px;
}

.numberCircle {
    border-radius: 50%;
    behavior: url(PIE.htc);
    /* remove if you don't care about IE8 */
    width: 13px;
    height: 13px;
    padding: 8px;
    border: 2px solid #fff;
    color: white;
    text-align: center;
    font: 13px Arial, sans-serif;
    display: inline-block;
}

hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 1px;
}

@media (max-width: 700px) {
    .form-container {
        max-width: 86%;
    }
    body>div.field-container>p:nth-child(2) {
        padding: 10px!important;
        font-size: 3.1vw !important;
    }
    .item11 {
        margin-top: 7px !important;
        margin-bottom: 10px!important;
        width: 65%!important;
        padding: 5px!important;
        font-size: 3.7vw!important;
    }
    .numberCircle {
        border-radius: 50%;
        behavior: url(PIE.htc);
        width: 3px;
        height: 3px;
        padding: 6px;
        border: 1px solid #fff;
        color: white;
        text-align: center;
        font: 7px Arial, sans-serif;
        display: inline-block;
    }
    .item61 {
        font-size: 3vw!important;
        margin-bottom: 18px!important;
    }
    .item31 {
        font-size: 3vw!important;
        padding-bottom: 5px!important;
    }
    .item41 {
        font-size: 3vw!important;
        padding-bottom: 5px!important;
    }
    .item51 {
        font-size: 3vw!important;
        padding-bottom: 5px!important;
    }
    body>div.field-container>div.grid-container>div.item21>img {
        margin-bottom: -10px;
        width: 95%!important;
    }
}


/* test grid */

.grid-container {
    display: grid;
    grid-template-columns: auto auto;
    padding: 10px;
    direction: ltr;
    background-image: url('../images/bg.svg');
    background-size: cover;
    color: white;
    padding: 10px;
    padding-bottom: 0;
    padding-right: 30px;
    padding-left: 0;
}

.grid-container>div {
    /* text-align: center;
    padding: 20px 0;
    font-size: 30px; */
}

.item11 {
    margin-top: 40px;
    margin-bottom: 20px;
    grid-column: 1 / span 2;
    border-radius: 25px;
    border: 2px solid #ffffff;
    background: #F36639;
    box-shadow: -5px 5px 20px 0px #54535380;
    width: 45%;
    font-size: 1.8vw;
    font-weight: 800;
    justify-self: flex-end;
    padding: 3px;
    direction: rtl;
    text-align: center;
}

.item00 {
    grid-column: 1 / span 2;
}

.item21 {
    align-self: end;
    grid-row: 2 / span 4;
}

.item31 {
    font-size: 1.4vw;
    direction: rtl;
}

.item41 {
    font-size: 1.3vw;
    direction: rtl
}

.item51 {
    font-size: 1.3vw;
    direction: rtl
}

.item61 {
    font-size: 1.3vw;
    direction: rtl;
    margin-bottom: 45px;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: #F36639 !important;
    color: white;
}

.iti__arrow {
    border-top-color: white!important;
}